home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C04 / all.makefile next >
Encoding:
Makefile  |  2000-05-25  |  1.4 KB  |  60 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C04
  7. # using the all compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f all.makefile
  11.  
  12. .SUFFIXES : .obj .cpp .c
  13. .cpp.obj :
  14.     $(CPP) $(CPPFLAGS) -c $<
  15. .c.obj :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17.  
  18. all: \
  19.     CLibTest.exe \
  20.     CppLibTest.exe \
  21.     Sizeof.exe \
  22.     StackTest.exe \
  23.     Scoperes.exe 
  24.  
  25. test: all 
  26.     CLibTest.exe  
  27.     CppLibTest.exe  
  28.     Sizeof.exe  
  29.     StackTest.exe NestTest.cpp 
  30.     Scoperes.exe  
  31.  
  32. bugs: 
  33.     @echo No compiler bugs in this directory!
  34.  
  35. CLibTest.exe: CLibTest.obj CLib.obj 
  36.     $(CPP) $(OFLAG)CLibTest.exe CLibTest.obj CLib.obj 
  37.  
  38. CppLibTest.exe: CppLibTest.obj CppLib.obj 
  39.     $(CPP) $(OFLAG)CppLibTest.exe CppLibTest.obj CppLib.obj 
  40.  
  41. Sizeof.exe: Sizeof.obj 
  42.     $(CPP) $(OFLAG)Sizeof.exe Sizeof.obj 
  43.  
  44. StackTest.exe: StackTest.obj Nested.obj 
  45.     $(CPP) $(OFLAG)StackTest.exe StackTest.obj Nested.obj 
  46.  
  47. Scoperes.exe: Scoperes.obj 
  48.     $(CPP) $(OFLAG)Scoperes.exe Scoperes.obj 
  49.  
  50.  
  51. CLib.obj: CLib.cpp CLib.h 
  52. CLibTest.obj: CLibTest.cpp CLib.h 
  53. CppLib.obj: CppLib.cpp CppLib.h 
  54. CppLibTest.obj: CppLibTest.cpp CppLib.h ..\require.h 
  55. Sizeof.obj: Sizeof.cpp CLib.h CppLib.h 
  56. Nested.obj: Nested.cpp Stack.h ..\require.h 
  57. StackTest.obj: StackTest.cpp Stack.h ..\require.h 
  58. Scoperes.obj: Scoperes.cpp 
  59.  
  60.